package com.appspot.bambugame.server.data;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Cached;

@Cached
public class HangmanQuestion
{
    @Id public long ID;
    public String SENTENCE;
    public String HINT;
    public int APPEARANCE_COUNT;
    
    public String EXTRAS;
    
    public HangmanQuestion()
    {
    }
    
    public HangmanQuestion(String pSentence, String pHint)
    {
        this(pSentence, pHint, "");
    }
    
    public HangmanQuestion(String pSentence, String pHint, String pExtras)
    {
        SENTENCE = pSentence;
        HINT = pHint;
        ID = SENTENCE.hashCode();
        APPEARANCE_COUNT = 0;
        EXTRAS = pExtras;
    }
}
